package com.fx.mapper;

import com.fx.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Auther: EDZ
 * @Date: 2018-6-13 16:00:
 * @Email: 你的邮箱
 * 概要说明：该类干嘛用的
 **/
@Mapper
@Component
public interface SysUserMapper {

    SysUser queryByUserName(String userName);

    List<SysUser> queryListData(Map<String, Object> param);

    int queryCount(Map<String, Object> param);

    int save(SysUser sysUser);

    int batchRemove(String[] ids);

    int updateById(SysUser sysUser);

    SysUser getById(String id);
}
